EditCheckPointTemplateRecord

SoftwareShield CheckPoint™ License Server > CheckPoint™ License Server Interfaces > CheckPoint_Webservice_References > EditCheckPointTemplateRecord

## EditCheckPointTemplateRecord

The EditCheckPointTemplateRecord function will edit and update a Templete Record.

###### Syntax

TRecordResponse * EditCheckPointTemplateRecord( TCheckPointReturnTemplate * ACheckPointReturnTemplate, BSTR ASessionID ) ;

###### Parameters

ACheckPointReturnTemplate

[IN] This is a TCheckPointReturnTemplate class is used to find and edit the template entry. The fields of interest are:

- ReturnTemplateID- this field determines which Return Template to update

- ReturnTemplate- this field is used to change the Return Template

ASessionID

[IN] This is the session ID of the logged in user.

###### Remarks

Also note that no fields should be blank unless it is intentional. The associated database field will be overwritten and updated to blank

Example: if you leave your ReturnTemplate blank, then the user's new ReturnTemplate may be blank.

Only administrators are allowed to use this function.

###### Return Value

Returns the custom class TRecordResponse. The fields of interest that is related to this method are:

- Success- True will be returned if this function was successful, otherwise false will be returned

- ErrorMessage- if an error occurred, the associated error message can be found in this field.

###### Function Information

Exposed By Interface: | "ICheckPointService"
Exposed In ISAPI DLL: | "checkpoint.dll"